﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="ListTempskd.aspx.cs" Inherits="dzs.Web.supply.ListTempskd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px;">
                <b>发送质量计划列表</b></td>
        </tr>
        <tr>
            <td style=" height:15px; text-align:left;">
                <asp:Label ID="lbl_se" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px;">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None"
                    onrowcommand="GridView1_RowCommand" Width="100%" AllowPaging="True" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbn_confirmFrist" runat="server" 
                                    CommandArgument='<%# Bind("monthSupplyPlanId") %>' 
                                    CommandName="lbn_confirmFrist" ForeColor="Blue">发送质量计划</asp:LinkButton>
                                &nbsp;
                            </ItemTemplate>
                        </asp:TemplateField>
<asp:BoundField DataField="supplyDate" HeaderText="供应年月" DataFormatString="{0:d}" Visible="False"></asp:BoundField>
                        <asp:BoundField DataField="proid" HeaderText="项目编号" />
                        <asp:BoundField DataField="projectName" HeaderText="项目名称" />
                        <asp:BoundField DataField="material" HeaderText="物料描述" />
                        <asp:BoundField DataField="thisMonthCount" HeaderText="本月计划数量" />
                        <asp:BoundField DataField="arrivalAddress" HeaderText="到货地点" />
                        <asp:BoundField DataField="linkman" HeaderText="联系人" />
                        <asp:BoundField DataField="contactWay" HeaderText="联系方式" />
                        <asp:BoundField DataField="result" HeaderText="状态" />
                        <asp:TemplateField HeaderText="供应年月">
                            <ItemTemplate>
                                <asp:Label ID="lbl_supplyDate" runat="server" Text='<%# Bind("supplyDate", "{0:d}") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("supplyDate") %>'></asp:TextBox>
                            </EditItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                     <PagerStyle CssClass="mypager" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>
